package com.module02.demo03;

public class CallMenu {

    //特征
    private int callDuration;//通话时长
    private int messageNum;//短信条数
    private int  monthlyCost;


    public int getCallDuration() {
        return callDuration;
    }

    public void setCallDuration(int callDuration) {
        this.callDuration = callDuration;
    }

    public int getMessageNum() {
        return messageNum;
    }

    public void setMessageNum(int messageNum) {
        this.messageNum = messageNum;
    }




    //行为  显示所有套餐信息
    public void show() {
        System.out.println("套餐内通话时长：" + callDuration + "短信条数：" + messageNum + "每月资费：" + monthlyCost);
    }

}
